// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
	font-weight: 400 !important;
}

.el-upload {
	input[type='file'] {
		display: none !important;
	}
}

.el-upload__input {
	display: none;
}

.cell {
	.el-tag {
		margin-right: 0px;
	}
}

.small-padding {
	.cell {
		padding-left: 5px;
		padding-right: 5px;
	}
}

.fixed-width {
	.el-button--mini {
		padding: 7px 10px;
		width: 60px;
	}
}

.status-col {
	.cell {
		padding: 0 10px;
		text-align: center;

		.el-tag {
			margin-right: 0px;
		}
	}
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
	transform: none;
	left: 0;
	position: relative;
	margin: 0 auto;
	pointer-events: auto;
}

.el-dialog__wrapper {
	pointer-events: none;
}

// refine element ui upload
.upload-container {
	.el-upload {
		width: 100%;

		.el-upload-dragger {
			width: 100%;
			height: 200px;
		}
	}
}

// dropdown
.el-dropdown-menu {
	a {
		display: block;
	}
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
	display: inline-flex !important;
	padding: 0px 10px 0px 10px;
}

// to fix el-date-picker css style
.el-range-separator {
	box-sizing: content-box;
}

.el-date-editor .el-range-separator {
	padding: 0px 5px 1px 5px;
}

.el-dialog {
	border-radius: 8px;
	.el-dialog__header {
		border-top-left-radius: 8px;
		border-top-right-radius: 8px;
		background-color: $blue;
		background-image: url('../assets/texture_small.png');
		padding: 10px !important;
		.el-dialog__title {
			color: #ffffff;
		}
		.el-dialog__headerbtn {
			top: 12px;
			right: 12px;
			font-size: 1rem;
			.el-dialog__close {
				color: #ffffff;
			}
		}
	}
	.el-dialog__body {
		padding: 10px 10px;
	}
	// .el-dialog__body > div:nth-child(2) {
	// padding: 10px;
	// }
	.el-dialog__footer {
		padding: 10px;
	}
}

.el-input.is-disabled .el-input__inner {
	color: #3f3f3f;
	height: 32px;
}
.el-date-editor.el-input,
.el-date-editor.el-input__inner {
	width: 100%;
}
.el-range-editor.el-input__inner {
	width: 100%;
}
.el-cascader {
	width: 100%;
}

.el-cascader {
	.el-input__inner {
		height: 32px !important;
	}
	.el-cascader__search-input{
		&::placeholder {
			color: #979797 !important; // font-size: 16px;
		}
	}
}

.el-input {
	width: 100%;
}
.el-input__inner {
	height: 32px;
	&::placeholder {
		color: #979797; // font-size: 16px;
	}
}

.el-textarea {
	width: 100%;
}
.el-select {
	.el-input {
		width: 100%;
	}
	width: 100%;
}
.el-input-number {
	width: 100%;
}
.el-switch__label {
	position: absolute;
	display: none;
}
.el-switch__label--left {
	z-index: 9;
	left: 27px;
}
.el-switch__label--right {
	z-index: 9;
	left: 0px;
}
.el-switch__label.is-active {
	display: block;
	color: #fff;
}
.el-switch .el-switch__core,
.el-switch .el-switch__label {
	width: 50px !important;
}
.el-select .el-input .el-select__caret {
	font-size: 1.3rem;
	color: $light-blue;
}
.el-date-editor .el-range__icon {
	line-height: 26px;
	font-size: 1.3rem;
	color: $light-blue;
}
.el-date-editor .el-range__close-icon {
	font-size: 1.3rem;
	color: $light-blue;
}
.el-input .el-input__clear {
	font-size: 1.3rem;
	color: $light-blue;
}
.el-input__icon {
	font-size: 1.3rem;
	color: $light-blue;
}
.el-checkbox__inner {
	border: 1px solid $light-blue;
}
.el-icon-arrow-down {
	font-size: 1rem !important;
}
.el-icon-arrow-up {
	font-size: 1rem !important;
}
.el-button--success {
	background-color: $deep-green;
	border-color: $deep-green;
}
.el-button--success:hover,
.el-button--success:focus {
	background-color: $panGreen;
	border-color: $panGreen;
}
.el-button--success.is-plain {
	color: $deep-green;
	background: #e7faf0;
	border-color: $deep-green;
}
.el-button--success.is-plain:hover,
.el-button--success.is-plain:focus {
	background: $deep-green;
	border-color: $deep-green;
	color: #ffffff;
}
.el-button--warning {
	color: #ffffff;
	background-color: $deep-yellow;
	border-color: $deep-yellow;
}
.el-button--warning:hover,
.el-button--warning:focus {
	background: $yellow;
	border-color: $yellow;
	color: #ffffff;
}
.el-button--warning.is-plain {
	color: $yellow;
	background: #ffffff;
	border-color: $yellow;
}
.el-button--warning.is-plain:hover,
.el-button--warning.is-plain:focus {
	background: $yellow;
	border-color: $yellow;
	color: #ffffff;
}
.el-tabs--border-card > .el-tabs__header.is-left {
	background-color: transparent;
	border-bottom: none;
}
.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left {
	border-right: none;
}
.el-tabs--border-card > .el-tabs__header .el-tabs__item {
	color: $blue;
}
.el-table {
	border-radius: 3px;
	background-image: url('../assets/watermark.png');
	// background-image: url('http://10.102.109.86:5001/sysFileInfo/download?Id=345752729014661');
}
.el-table tr {
	background-color: transparent;
}
.el-table th {
	background-color: $blue !important;
	background-image: url('../assets/texture_small.png');
	color: #ffffff;
}
.el-table tbody tr > td {
	transition: all 3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.el-table tbody tr:hover > td {
	background-color: rgba($color: $blue, $alpha: 0.2) !important;
	// color: #000000;
	font-weight: bold;
}
.el-table .el-table__fixed-right {
	background-color: #ffffff;
	tbody tr:hover > td {
		background-color: rgba($color: #ffffff, $alpha: 1) !important;
		color: #000;
	}
}
.el-table .el-table__fixed {
	background-color: #ffffff;
	tbody tr:hover > td {
		background-color: rgba($color: #ffffff, $alpha: 1) !important;
		color: #000;
	}
}
.el-table--striped .el-table__body tr.el-table__row--striped td {
	background-color: rgba($color: $grey, $alpha: 0.1);
}
.el-radio__input {
	.el-radio__inner {
		border: 1px solid $light-blue;
	}
}

.el-radio__input.is-disabled + span.el-radio__label {
	color: #787878;
}

.el-table thead.is-group th {
	background-color: $blue;
	background-image: url('../assets/texture_small.png');
}

.el-table--small th,
.el-table--small td {
	padding: 4px 0;
}

.el-table--small .el-table__cell {
	padding: 4px 0;
}

.el-table .caret-wrapper {
	height: 23px;
}
.el-table .sort-caret.ascending {
	top: -2px;
}
.el-table .sort-caret.descending {
	bottom: 2px;
}

.el-dialog .el-dialog__header .el-dialog__headerbtn .el-dialog__close {
	font-size: 1.5rem;
}

.el-form-item__label {
	font-size: 12px !important;
}
.el-form-item__content {
	font-size: 14px !important;
}

.el-form-item {
	margin-bottom: 11px;
}

// .el-form-item__content {
// 	line-height: initial;
// }

.el-form-item__error {
	padding-top: 1px;
}

.el-button--default {
	padding: 8px 15px;
	font-size: 13px;
	border-radius: 3px;
}

.el-card {
	padding: 10px;
}

.el-card__body {
	padding: 0;
}

.el-drawer__header {
	align-items: center;
	color: white;
	display: flex;
	margin-bottom: 0px;
	padding: 10px;
	// padding-bottom: 0;
	background-color: $blue;
}

.el-textarea__inner {
	color: #3f3f3f;
	font-family: 'microsoft yahei';
}

.el-textarea.is-disabled .el-textarea__inner {
	color: #3f3f3f;
	font-family: 'microsoft yahei';
}

.el-tooltip__popper {
	max-width: 420px;
	letter-spacing: 1px;
	// font-size: 1rem;
	// .is-danger {
	// 	background-color: red;
	// 	color: white;
	// }
}
.el-pagination {
	float: right;
	margin: 10px 0px 0px 0px !important;
}

.el-collapse-item__header {
	font-weight: bold;
}

.el-collapse-item__content {
	padding-top: 8px;
	padding-bottom: 5px;
}

.el-autocomplete {
	width: 100%;
}

.el-table__empty-text {
	color: $red;
	letter-spacing: 1px;
	// font-weight: bold;
	font-size: 0.9rem;
}

.el-collapse-item__header {
	padding-left: 10px;
	background-color: rgba($color: $deep-green, $alpha: 0.15);
	background-image: url('../assets/texture_small.png');
	color: $deep-green;
	border-bottom: 1px solid white;
	// border-radius: 10px;
	height: 36px;
	line-height: 36px;
}

.el-loading-mask {
	background-color: rgba(255, 255, 255, 0.7);
}

.el-textarea .el-input__count {
	color: blue;
	background: transparent;
}

.el-cascader-panel {
	height: 320px;
}

.el-cascader-menu__wrap {
	height: 100%;
}
